package com.gaea.modules.common.model.entity;


import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * <p>
 * 角色菜单表
 * </p>
 *
 * @author bjsonghongxu
 * @since 2017-10-29
 */
@Table(name="sys_role_menu")
public class SysRoleMenu implements Serializable{

    private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@Id
	private Long id;

    /**
     * 角色ID
     */
	private Long roleId;
    /**
     * 菜单ID
     */
	private Long menuId;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public Long getMenuId() {
		return menuId;
	}

	public void setMenuId(Long menuId) {
		this.menuId = menuId;
	}
}
